#ifndef __ENTITY_H__
#define __ENTITY_H__

#include <wiisprite.h>

using namespace wsp;

class Engine;

class Entity
{
public:
	
	Entity();
	~Entity();
	virtual bool Update() = 0;
	// virtual void OnHit() = 0;  // Move that to creature
	
	
	bool GetAlive() const;
	void SetAlive(bool life);
	
	void SetLayer(Layer* lay);  // I don't think you shold use this.  Use a subclasses SetSprite or whatever.
	Layer * GetLayer();
	
	
	
	
// Protected?
	bool alive;
	Layer *layer;  // Will point to Creature's sprite.

};

#endif//__ENTITY_H__